package com.zfy.mall.product;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * 整合 mybatis-plus
 *      1）导入依赖
 *
 *      2）配置
 *          1.配置数据源
 *              1）.导入数据库驱动
 *          2.配置mybatis-plus
 *
 *      逻辑删除
 */
@EnableDiscoveryClient
@MapperScan("com.zfy.mall.product.dao")
@SpringBootApplication
public class MallProductApplication {

    public static void main(String[] args) {
        SpringApplication.run(MallProductApplication.class, args);
    }

}
